/**
 * 
 */
package com.gopay.common.domain.dic;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * 个人客户职业字典表实体类
 * @DicCustProfession.java
 * @author xiefei
 * @2013-5-8 上午10:44:38  www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "DIC_CUST_PROFESSION")
public class DicCustProfession extends BaseEntity {

    /**
     * 
     */
    private static final long serialVersionUID = -938228479265113598L;
    
    /**
     * 代码
     */
    private String code;
    
    /**
     * 名称
     */
    private String name;
    
    /**
     * 备注1
     */
    private String remark1;
    
    /**
     * 备注2
     */
    private String remark2;
    
    /**
     * 删除标志 0 - 未删除 1 - 已删除
     */
    private int delFlag;
    
    /**
     * 创建时间
     */
    private Date createdTs;
    
    /**
     * 创建时间
     */
    private Date lastUpdTs;
    
    /**
     * 最后修改交易码
     */
    private String lastUpdTranCode;

    /**
     * @return the code
     */
    @Id
    @Column(name = "CODE", unique = true, nullable = false, length = 10)
    public String getCode() {
        return code;
    }

    /**
     * @param code the code to set
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * @return the name
     */
    @Column(name = "NAME", unique = true, nullable = false, length = 100)
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the remark1
     */
    @Column(name = "REMARK1")
    public String getRemark1() {
        return remark1;
    }

    /**
     * @param remark1 the remark1 to set
     */
    public void setRemark1(String remark1) {
        this.remark1 = remark1;
    }

    /**
     * @return the remark2
     */
    @Column(name = "REMARK2")
    public String getRemark2() {
        return remark2;
    }

    /**
     * @param remark2 the remark2 to set
     */
    public void setRemark2(String remark2) {
        this.remark2 = remark2;
    }

    /**
     * @return the delFlag
     */
    @Column(name = "DEL_FLAG", unique = true, nullable = false)
    public int getDelFlag() {
        return delFlag;
    }

    /**
     * @param delFlag the delFlag to set
     */
    public void setDelFlag(int delFlag) {
        this.delFlag = delFlag;
    }

    /**
     * @return the createdTs
     */
    @Column(name = "CREATED_TS")
    public Date getCreatedTs() {
        return createdTs;
    }

    /**
     * @param createdTs the createdTs to set
     */
    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }

    /**
     * @return the lastUpdTs
     */
    @Column(name = "LAST_UPD_TS")
    public Date getLastUpdTs() {
        return lastUpdTs;
    }

    /**
     * @param lastUpdTs the lastUpdTs to set
     */
    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

    /**
     * @return the lastUpdTranCode
     */
    @Column(name = "LAST_UPD_TRANCODE")
    public String getLastUpdTranCode() {
        return lastUpdTranCode;
    }

    /**
     * @param lastUpdTranCode the lastUpdTranCode to set
     */
    public void setLastUpdTranCode(String lastUpdTranCode) {
        this.lastUpdTranCode = lastUpdTranCode;
    }
    
    
    
}
